<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 标题 -->
    <title>作业2</title>
    <style>
        .f{
            width: 700px;
            border-top: 3px solid orange;
            margin: auto;
        }
        .m{
            width: 700px;
            border-top: 3px solid gray;
            margin: auto;
        }
        .a1{
            display: inline-block;
            height: 35px;
            margin-top: 10px;
        }
        .a2{
            display: inline-block;
            margin-left: 50px;
        }
        .a3{
            display: inline-block;
            margin-left: 50px;
        }
        .a4{
            display: inline-block;
            margin-left: 50px;
        }
        .a5{
            display: inline-block;
            margin-left: 50px;
        }
        .a6{
            display: inline-block;
            margin-left: 50px;
        }
        
        a{
            list-style: none;
        }

        a{
            text-decoration: none;
            color: black;
        }

        
    </style>
</head>
<body style="text-align: center;">
    <div class="f"></div>
    <div class="a1" ><a href="#">首页</a></div>
    <div class="a2" ><a href="#">手机新浪网</a></div>
    <div class="a3" ><a href="#">移动客户端</a></div>
    <div class="a4" ><a href="#">博客</a></div>
    <div class="a5" ><a href="#">微博</a></div>
    <div class="a6" ><a href="#">关注我</a></div>
    <div class="m"></div>
</body>
</html>    